{% extends 'base.html' %}
{% block title %}
    <title>修改密码</title>
{% endblock %}

{% block head %}
{% endblock %}

{% block body %}
<!--    <p>{{ cs }}</p>-->
<!--    {% for b in cs %}-->
<!--        {{ b }}-{{ forloop.first }}-->
<!--    {% endfor %}-->


    <h1>修改密码</h1>
<form method="post">
  {% csrf_token %}
  <div class="form-group">
    <label for="password0">原始密码</label>
    <input name="password0" type="password" class="form-control" id="password0" placeholder="请输入密码">
  </div>
    <div class="form-group">
    <label for="password1">新密码</label>
    <input name="password1" type="password" class="form-control" id="password1" placeholder="请输入密码">
  </div>
  <div class="form-group">
    <label for="password2">确认密码</label>
    <input name="password2" type="password" class="form-control" id="password2" placeholder="请再次输入密码">
  </div>
  <div class="form-group">
    {% if error %}
      <p class="text-danger">{{ error }}</p>
    {% endif %}
  </div>
  <button type="submit" class="btn btn-primary">确认修改</button>
</form>




{% endblock %}